﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 功能测试软件.ViewModel
{
    public class BtLogViewModel:Notify
    {
        private ObservableCollection<MacItem> _MacItems = new ObservableCollection<MacItem>();
        public ObservableCollection<MacItem> MacItems
        {
            get => _MacItems;
            set { _MacItems = value; RaisePropertyChanged("MacItems"); }
        }
        public class MacItem : Notify
        {
            int _No;
            public int No
            {
                get { return _No; }
                set { _No = value; }
            }
            string _BT_MAC;

            public string BT_MAC
            {
                get { return _BT_MAC; }
                set { _BT_MAC = value; }
            }
            int _dBm;

            public int dBm
            {
                get { return _dBm; }
                set { _dBm = value; }
            }  
        }
    }
}
